package com.zjc.gateway.constants;

public enum AppExcCodesEnum implements AppBizExcCodes {

    OPERATE_FAIL("GATEWAY.001", "操作失败"),
    SERVICE_UNAVAILABLE("GATEWAY.002", "服务不可用"),
    FILE_SIZE_LIMIT_EXCEEDED("GATEWAY.003", "上传的文件大小超出允许值");

    private String code;
    private String message;

    AppExcCodesEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}

